package com.iris.live.services.config;

import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;

import com.iris.live.services.servlet.TimerServlet;

public class Bootstrapper extends AbstractAnnotationConfigDispatcherServletInitializer {

    @Override
    protected Class<?>[] getRootConfigClasses() {
        return new Class[]{AppConfig.class};
    }

    @Override
    protected Class<?>[] getServletConfigClasses() {
		Class[] servlets = new Class[1];
		servlets[0] = TimerServlet.class;
		return servlets;
    }

    @Override
    protected String[] getServletMappings() {
        return new String[]{"/"};
    }
}
